name: summarization-annotator
endpoints:
- respond
compose:
  env_file:
  - .env
  build:
    args:
      SERVICE_PORT: 8058
      SERVICE_NAME: summarization_annotator
      SUMMARIZATION_REQUEST_TIMEOUT: 10
    context: ./annotators/summarization_annotator/
  command: flask run -h 0.0.0.0 -p 8058
  environment:
  - FLASK_APP=server
  deploy:
    resources:
      limits:
        memory: 256M
      reservations:
        memory: 256M
  volumes:
  - ./annotators/summarization_annotator:/src
  ports:
  - 8058:8058
proxy: null
